#ifndef __HELLOWORLD_SCENE_H__
#define __HELLOWORLD_SCENE_H__

#include "cocos2d.h"

USING_NS_CC;
class dog;
class aboutScene;
class HelloWorld : public cocos2d::Layer
{
public:
	static cocos2d::Scene* createScene();
	virtual bool init();
	void menuCloseCallback(cocos2d::Ref* pSender);
	void new_(Ref*p);
	void about(Ref*p);
	void musi(Ref*p);
	Menu *menuu3;
	bool isMusi;

	CREATE_FUNC(HelloWorld);
};


class gameScene :public Layer
{
public:
	static Scene*createScene();
	virtual bool init();
	CREATE_FUNC(gameScene);
	virtual void update(float delta);
	Sprite*bg;
	Sprite*bg1;
	Sprite*bg2;
	dog*dogManger[5];
	int dogSpeed;
	Label*LabelScore;
	void OVER(void);
	EventListenerTouchOneByOne*listtner;

	Sprite*Dogbullet[10];

};

class cat :public Layer
{
public:
	cat();
	Sprite*SpriteCat;
	static cat*getInstance();
	static cat*_cat;
	void Touch(void);
	Sprite*lefHand;
	Sprite*rigHand;
	Sprite*bullet[5];
	int bulletSpeed;


};

class dog :public Layer
{
public:
	Sprite*Spritedog;
	dog();
	int bulletSpeed;
};




class aboutScene :public Layer
{
public:
	static cocos2d::Scene* createScene();
	virtual bool init();

	CREATE_FUNC(aboutScene);


};


class logo : public Layer
{
public:
	virtual bool init();
	static  cocos2d::CCScene* scene();
	void next(void);
	int a;
	void ImageAsyncCallback(cocos2d::Texture2D* texture);
	CREATE_FUNC(logo);
};




#endif // __HELLOWORLD_SCENE_H__
